WCPM\Classes\Admin\LTV A

Total Complexity 73
Dependencies 5
Dependents 3
Total lines 794
Lines of code 394
Logical lines of code 164
Comment lines 272
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
batch_process_vertical_ltv_calculation()
A
44 6 52
handle_action_scheduler_failed_action()
S
49 6 34
horizontal_ltv_calculation_check()
S
51 5 29
calculate_pmw_order_values()
S
53 5 23
run_complete_vertical_ltv_calculation()
S
52 4 29
horizontal_ltv_calculation()
S
53 4 26
set_pmw_order_values_on_order()
S
59 4 15
schedule_complete_vertical_ltv_calculation()
S
54 3 24
get_previous_order_with_same_email_address()
S
55 3 20
get_next_order_with_same_email_address()
S
55 3 20
is_horizontal_ltv_calculation_in_progress()
S
59 3 16
vertical_recalculation_if_the_marketing_order_value_calculation_changed()
S
62 3 12
get_pmw_order_values()
S
63 3 11
is_recalculation_running()
S
72 3 5
are_all_pmw_order_values_set()
S
65 3 9
get_the_first_order_in_the_db()
S
59 2 14
get_pmw_order_value_by_key()
S
68 2 7
is_recalculation_scheduled()
S
75 2 4
stop_ltv_recalculation()
S
74 1 5
pmw_order_value_meta_key()
S
81 1 3
get_ltv_recalculation_status()
S
71 1 6
default_pmw_order_values()
S
68 1 8
get_total_ltv_from_order()
S
78 1 3
get_total_order_value_from_order()
S
78 1 3
get_marketing_order_value_from_order()
S
78 1 3
get_marketing_ltv_from_order()
S
78 1 3
get_failed_as_attempts()
S
64 1 10